package com.crowntit.domain.trade.model.entity;

import com.crowntit.domain.trade.model.valobj.TradeOrderStatusEnumVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * lock的出参
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LockPayOrderEntity {
    private String outTradeNo;
    private BigDecimal deductionPrice;
    private BigDecimal payPrice;
    private TradeOrderStatusEnumVO status;

    /**
     * 有效开始时间
     */
    private Date validStartTime;

    /**
     * 有效结束时间
     */
    private Date validEndTime;
}
